package com.deng.storage.service.impl;

import com.deng.storage.mapper.AccountMapper;
import com.deng.storage.model.entity.Account;
import com.deng.storage.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 邓天天
 * @date 2021/4/7 22:56
 */
@Service
public class AccountServiceImpl implements AccountService {
    @Autowired
    private AccountMapper accountMapper;

    @Override
    public Account getAccount(Integer id) {
        return accountMapper.selectById(id);
    }
}
